package com.telephone.purchase.entity;

import javax.validation.constraints.NotBlank;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @author fengyingeng
 * @date 2019/9/4 8:52
 * Description: 用户实体类
 */
public class User {

    /**
     * 用户ID
     */
    private Long UserId;

    /**
     * 用户名
     */
    private String UserName;

    /**
     * 用户密码
     */
    private String UserPassword;

    /**
     * 支付密码
     */
    private String PayPassword;

    /**
     * 用户性别
     */
    private int UserGender;

    /**
     * 手机号
     */
    private String PhoneNumber;

    /**
     * 账户余额
     */
    private BigDecimal userBalance;

    /**
     * 用户邮箱
     */
    private String UserEmail;

    /**
     * 用户头像URL
     */
    private String IconURL;

    /**
     * 关联权限表
     */
    private int RoleId;

    /**
     * 创建时间
     */
    private Date CreateTime;

    public Long getUserId() {
        return UserId;
    }

    public void setUserId(Long userId) {
        UserId = userId;
    }

    public String getUserName() {
        return UserName;
    }

    public void setUserName(String userName) {
        UserName = userName;
    }

    public String getUserPassword() {
        return UserPassword;
    }

    public void setUserPassword(String userPassword) {
        UserPassword = userPassword;
    }

    public String getPayPassword() {
        return PayPassword;
    }

    public void setPayPassword(String payPassword) {
        PayPassword = payPassword;
    }

    public int getUserGender() {
        return UserGender;
    }

    public void setUserGender(int userGender) {
        UserGender = userGender;
    }

    public String getPhoneNumber() {
        return PhoneNumber;
    }

    public void setPhoneNumber(String phoneNumber) {
        PhoneNumber = phoneNumber;
    }

    public String getUserEmail() {
        return UserEmail;
    }

    public void setUserEmail(String userEmail) {
        UserEmail = userEmail;
    }

    public String getIconURL() {
        return IconURL;
    }

    public void setIconURL(String iconURL) {
        IconURL = iconURL;
    }

    public int getRoleId() {
        return RoleId;
    }

    public void setRoleId(int roleId) {
        RoleId = roleId;
    }

    public Date getCreateTime() {
        return CreateTime;
    }

    public void setCreateTime(Date createTime) {
        CreateTime = createTime;
    }

    public BigDecimal getUserBalance() {
        return userBalance;
    }

    public void setUserBalance(BigDecimal userBalance) {
        this.userBalance = userBalance;
    }
}
